﻿using ConsoleApp1;
using MiniExcelLibs;

 List<people> peoplelist= MiniExcel.Query<people>("C:\\Users\\lu\\OneDrive\\Desktop\\工作簿1.xlsx").ToList();
while(true){
    Console.WriteLine("往里面 请输入里面要查询的名称：");
    string str = Console.ReadLine();
    for (int i = 0; i<peoplelist.Count; i++)
    {
        if (peoplelist[i].Name == str)
        {
            Console.WriteLine("Name:"+peoplelist[i].Name+" Layer:"+peoplelist[i].Layer+" Param:"+peoplelist[i].Param);
        }
    }
}


